/**
 * This file is part of AppStoreBot.
 *
 *  AppStoreBot is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  AppStoreBot is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with AppStoreBot.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package lu.pragmaconsult.appstorebot.itunes;

/**
 * Global String constants used by the entire application classes.
 * 
 * @author Wilfried Vandenberghe (wilfried.vandenberghe at pragmaconsult.lu)
 */
interface Constants {

	// URL constants

	String AUTHENTICATION_URL = "AuthenticationUrl";

	String I_TUNES_CONNECT_URL = "/WebObjects/iTunesConnect.woa";

	String SUBDASHBOARD_URL = "/subdashboard.faces";

	String SALES_URL = "/sales.faces";

	String VENDOR_DEFAULT_URL = "/vendor_default.faces";

	// XPath constants

	String XPATH_A = "//A";

	String XPATH_FORM = "//FORM";

	String XPATH_DIV = "//DIV";

	String XPATH_INPUT = "//INPUT";

	String XPATH_SCRIPT = "//SCRIPT";

	String XPATH_SELECT = "//SELECT";

	// XML attributes names

	String ATT_HREF = "href";

	String ATT_ACTION = "action";

	String ATT_CLASS = "class";

	String ATT_VALUE = "value";

	String ATT_ID = "id";

	// context attributes tokens

	String SALES_AND_TREND = "salesAndTrend";

	String DATE_LIST_AVAILABLE_WEEKS = "dateListAvailableWeeks";

	String SELECT_NAME = "selectName";

	String VIEW_STATE = "viewState";

	String AJAX_NAME = "ajaxName";

	String DATE_LIST_AVAILABLE_DAYS = "dateListAvailableDays";

	String DATE_NAME = "dateName";

	String DAILY_NAME = "dailyName";

	String DEFAULT_VENDOR_PAGE = "defaultVendorPage";

	// other constants

	int PORT = 443;

	String PROTOCOL = "https";

	String HOST_NAME = "itunesconnect.apple.com";

	String REPORTING_HOST = "reportingitc.apple.com";

	String HEADER_CONTENT_DISPOSITION = "content-disposition";

	String DATE_FORMAT = "MM/dd/yyyy";

	String NODE_OPTION = "option";

}
